Skip to content

Conversation

yualexan
Copy link
Contributor

  • The blank-java example is just a Lambda function that handles SQSEvent objects.
  • Moved this example to inside the java-events folder.
  • The Lambda developer guide now must remove all references to blank-java.
  • Tested this change using the sqs path, as well as ensured current examples still work.

Issue #, if available:

Description of changes:
Just consolidating the Lambda code examples. The previous blank-java example wasn't really a "blank" example. It contains skeleton code to handle SQSEvent objects, similar to other examples in the java-events collection, so this pull request just moves it there (and removes blank-java entirely).

The Lambda developer guide will then need to remove all references to the blank-java example.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

- The blank-java example is just a Lambda function that handles SQSEvent objects.
- Moved this example to inside the java-events folder.
- The Lambda developer guide now must remove all references to blank-java.
- Tested this change using the sqs path, as well as ensured current examples still work.
@yualexan yualexan requested a review from mwunderl September 12, 2022 20:45
@mwunderl
Copy link
Member

I guess "blank" is kind of a misnomer as it's not the simplest example. It's part of a series of examples that shows a common set of functionality for each language. Removing it makes that topic seem incomplete.

Since the SQS event handler is redundant, maybe there's a better use case? It might be interesting to show a different type of input, such as a plain string, binary object, or unmodeled JSON.

@yualexan
Copy link
Contributor Author

Ah I see, once you showed me the page it does indeed look incomplete. I noticed the other language examples simply use the Lambda client to display AccountSettings. Do you think I can add that as the blank-java example too?

@mwunderl
Copy link
Member

yes I think that's a fine use case

@mwunderl mwunderl closed this Oct 30, 2023
@AWSBen AWSBen deleted the move-blank-java branch March 31, 2025 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants